<!-- Top Navbar-->
<div class="navbar">
	<div class="navbar-inner">
		<div class="left">
			<input type="hidden" id="token" value="${token!}"/>
			<a href="#" class="back link"> <i class="fa fa-angle-left"></i></a>
		</div>
		<div class="center sliding">选择收货地址</div>
		<div class="right">
			<a style="height:100%;width:100%;"href="${basepath!}/phone/address/index?headFlag=yes&token=${token!}">管理</a>
		</div>
	</div>
</div>
<div class="pages">
	<!-- Page, data-page contains page name-->
	<div data-page="address-choice" class="page">
		<!-- Scrollable page content-->
		<div class="page-content">
			<div class="choice-address">
				<#if addressList?? && addressList?size gt 0> 
					<#list addressList as item> 
						<a id="${item.id!''}" class="address-line <#if addressId?? && addressId=item.id>one-line <#else> other-line </#if> back link" href="#">
							<div class="box">
								<div class="left-txt">
									<c>
										<span class="name">${item.name!""}</span>
										<span class="phone">${item.mobile!""}</span>
									</c>
									<#if item.isdefault?? && item.isdefault=="y">
										<em>默认</em>
									</#if>
									<p>${item.pcadetail!""}${item.address!""}</p>
								</div>
								<#if addressId?? && addressId=item.id> <i class="gou"><img
									id="img${item.id!}" src="${staticpath}/phone/images/gou.png"></i>
								</#if>
							</div>
						</a>
					</#list>
					<#else>
					<div style="height:100px;font-size:16px;padding-top:20px;padding-left:5px;padding-right:5px;"><span style="color:red;">*温馨提示：</span>您尚未设置收货地址，请到'我的 > 设置 > 收货地址设置' 设置收货地址吧！</div>
				</#if>
			</div>
		</div>
	</div>
</div>